home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Graphics Programming (2nd Edition) / Visual Basic Graphics Programming 2nd Edition.iso / OldSrc / CH1 / SRC / WRONG.FRM < prev   
Text File  |  1996-01-04  |  1KB  |  59 lines

  1. VERSION 4.00
  2. Begin VB.Form WrongForm 
  3.    AutoRedraw      =   -1  'True
  4.    BackColor       =   &H00FFFFFF&
  5.    BorderStyle     =   3  'Fixed Dialog
  6.    Caption         =   "Wrong"
  7.    ClientHeight    =   1110
  8.    ClientLeft      =   2220
  9.    ClientTop       =   2325
  10.    ClientWidth     =   1785
  11.    Height          =   1800
  12.    Left            =   2160
  13.    LinkTopic       =   "Form2"
  14.    MaxButton       =   0   'False
  15.    MinButton       =   0   'False
  16.    ScaleHeight     =   1110
  17.    ScaleWidth      =   1785
  18.    ShowInTaskbar   =   0   'False
  19.    Top             =   1695
  20.    Width           =   1905
  21.    Begin VB.Menu mnuFile 
  22.       Caption         =   "&File"
  23.       Begin VB.Menu mnuFileExit 
  24.          Caption         =   "E&xit"
  25.       End
  26.    End
  27. End
  28. Attribute VB_Name = "WrongForm"
  29. Attribute VB_Creatable = False
  30. Attribute VB_Exposed = False
  31. Option Explicit
  32.  
  33. Private Sub Form_Load()
  34. Dim i As Single
  35.  
  36.     Me.Width = 1440
  37.     Me.Height = 1440
  38.     
  39.     Scale (0, 100)-(100, 0)
  40.     
  41.     For i = 10 To 90 Step 10
  42.         Line (0, i)-(100, i)
  43.         Line (i, 0)-(i, 100)
  44.     Next i
  45. End Sub
  46.  
  47.  
  48. Private Sub Form_Unload(Cancel As Integer)
  49.     If Not RightForm Is Nothing Then _
  50.         Unload RightForm
  51. End Sub
  52.  
  53.  
  54. Private Sub mnuFileExit_Click()
  55.     Unload Me
  56. End Sub
  57.  
  58.  
  59.